package com.itchu.system.service;

import com.itchu.common.domain.PageResult;
import com.itchu.system.domain.Song;

import java.util.List;

public interface SongService {


    PageResult<Song> showAll(String key, Integer page, Integer rows, String sortBy, Boolean desc);

    void addSong(Song song, List<Long> cids);

    void deleteSong(Long id);

    void updateSong(Song song, List<Long> cids);

    List<Song> findRankSongs(Long type);

    List<Song> findSonsBySnameAndSiname( String name);

}
